﻿package com.hh.bss.util.jquery;

import java.util.ArrayList;
import java.util.List;



public class ListRange<T> {
	private boolean success;
	private String message;
	private long total;
	private List<T> rows;

	public ListRange() {
		this.total = 0;
		this.rows = new ArrayList<T>();
	}

	public long getTotal() {
		return total;
	}

	public void setTotal(long totalSize) {
		this.total = totalSize;
	}

	public List<T> getRows() {
		return rows;
	}

	public void setRows(List<T> list) {
		this.rows = list;
	}

	public boolean isSuccess() {
		return success;
	}

	public void setSuccess(boolean success) {
		this.success = success;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}
	
}
